package com.syys.privacy.domain;

import com.syys.common.annotation.Excel;
import com.syys.common.core.domain.BaseEntity;
import com.syys.privacy.annotation.ParagraphField;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 收集个人信息方式对象 qa_personal_info_commission
 *
 * @author ys
 * @date 2021-07-25
 */
public class QaPersonalInfoCommission extends BaseEntity {
    private static final long serialVersionUID = 1L;

    private Long commissionId;

    @Excel(name = "隐私政策 主键")
    private Long privacyId;

    @ParagraphField
    private String chapterFives1Radio;

    @ParagraphField(type = ParagraphField.Type.CHECK)
    private String chapterFives1;

    @ParagraphField(type = ParagraphField.Type.INPUT)
    private String chapterFives1Other;

    @ParagraphField
    private String chapterFives2Radio;

    private String chapterFives2Num;

    public void setCommissionId(Long commissionId) {
        this.commissionId = commissionId;
    }

    public Long getCommissionId() {
        return commissionId;
    }

    public void setPrivacyId(Long privacyId) {
        this.privacyId = privacyId;
    }

    public Long getPrivacyId() {
        return privacyId;
    }

    public void setChapterFives1Radio(String chapterFives1Radio) {
        this.chapterFives1Radio = chapterFives1Radio;
    }

    public String getChapterFives1Radio() {
        return chapterFives1Radio;
    }

    public void setChapterFives2Radio(String chapterFives2Radio) {
        this.chapterFives2Radio = chapterFives2Radio;
    }

    public String getChapterFives2Radio() {
        return chapterFives2Radio;
    }

    public void setChapterFives2Num(String chapterFives2Num) {
        this.chapterFives2Num = chapterFives2Num;
    }

    public String getChapterFives2Num() {
        return chapterFives2Num;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("commissionId", getCommissionId())
                .append("privacyId", getPrivacyId())
                .append("chapterFives1Radio", getChapterFives1Radio())
                .append("chapterFives2Radio", getChapterFives2Radio())
                .append("chapterFives3Num", getChapterFives2Num())
                .append("remark", getRemark())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }

    public String getChapterFives1() {
        return chapterFives1;
    }

    public void setChapterFives1(String chapterFives1) {
        this.chapterFives1 = chapterFives1;
    }

    public String getChapterFives1Other() {
        return chapterFives1Other;
    }

    public void setChapterFives1Other(String chapterFives1Other) {
        this.chapterFives1Other = chapterFives1Other;
    }
}